.header {
    position: relative;
    width: 100%;
    height: 60px;
    background-color: #23262e;
    color: #fff;
    font-size: 14px;
}

.header .logo {
    float: left;
    width: 200px;
    height: 100%;
    text-align: center;
    line-height: 60px;
}

.header img {
    vertical-align: middle;
}

/* 选项 */
ul li {
    list-style: none;
}

.option {
    position: relative;
    float: right;
    padding: 0 20px;
}

.option li {
    float: left;
    padding: 0 20px;
}

.option li a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    line-height: 60px;
    margin-right: 20px;
}

.img {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    line-height: 0;
    vertical-align: middle;
    margin-right: 5px;
}

.img img {
    width: 100%;
}

.quit span {
    margin-right: 5px;
}

.usernamer,
.quit {
    position: relative;
    transition: all .2s;
}

.lower,
.upper {
    position: absolute;
    top: 2px;
    right: -20px;
    vertical-align: middle;
}

.upper {
    display: none;
}

.option li dl a {
    display: block;
    width: 100%;
    height: 36px;
    color: #333;
    line-height: 36px;
}

.optioner {
    position: absolute;
    top: 55px;
    left: 45px;
    display: none;
    margin-top: 5px;
    width: 110px;
    text-align: center;
    border: 1px solid #ededed;
    background-color: #fff;
    padding: 5px 0;
    transition: all .3s;
    z-index: 999;
}

.optioner dd:hover {
    background-color: #f2f2f2;
}

.option>li:hover>a {
    color: #fff;
}

.xian1,
.xian2 {
    display: none;
    position: absolute;
    height: 5px;
    background-color: #5fb878;
    border-radius: 2px;
}

.xian1 {
    right: 140px;
    width: 120px;
    bottom: 0px;
}

.xian2 {
    width: 80px;
    right: 40px;
    bottom: 0;
}

/* 左侧导航栏 */
.navs {
    float: left;
    width: 200px;
    height: 93.8%;
    background-color: #393d49;
    color: #c4bda8;
}

.navs a {
    color: #c4bda8;
}

.nav-hd {
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.nav-tabs {
    border: 0;
}

.nav-tabs>li {
    float: none;
}

.glyphicon {
    margin-right: 5px;
}

.caret {
    margin-left: 5px;
}

/* 主体部分 */
.main {
    float: left;
    width: 84%;
    margin-left: 15px;
    margin-top: 10px;
}

.main .tab-content {
    width: 100%;
}

.user-text {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #009688;
    vertical-align: middle;
    line-height: 30px;
    text-align: center;
    font-size: 16px;
    border-radius: 50%;
}

/* 首页 */
iframe {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 类别管理 */
#profile1 .form-group {
    margin-left: 15px;
}

#profile1 .form-inline>.btn {
    float: right;
    margin-right: 20px;
}

#profile1 .box-bd {
    margin-top: 10px;
}

/* 文章管理 */
/* 添加文章 */


/* 基本资料 */
.bg-primary {
    height: 40px;
    line-height: 40px;
    padding-left: 20px;
    margin-bottom: 10px;
}

#messages1 .form-group,
#messages2 .form-group {
    margin-left: 20px;
    margin-bottom: 10px;
    display: block;
}

#messages1 .btn,
#messages2 .btn {
    margin-left: 30px;
    margin-top: 10px;
}

#messages1 .form-control-static {
    padding-left: 12px;
    width: 196px;
    height: 34px;
    border: 1px solid #ccc;
    vertical-align: middle;
}

/* 重置密码 */
#messages2 .box {
    position: relative;
}

#messages2 .form-inline {
    position: absolute;
    left: 0;
}

#messages2 .form-group {
    text-align: right;
}

/* 更换头像 */

/* 设置裁剪区域的样式 */
#messages3 .cropper-box {
    width: 350px;
    height: 350px;
    background-color: cyan;
    overflow: hidden;
}

#image {
    width: 100%;
    height: 100%;
}

/* 设置图片行的样式 */
#messages3 .row1 {
    display: flex;
}

#messages3 .btns {
    margin-top: 30px;
    margin-left: 350px;
}

/* 文章列表 */
#profile2 .form-inline {
    margin-left: 15px;
    margin-bottom: 10px;
}

#profile2 .btn-primary {
    margin-left: 40px;
}

#profile2 .form-control {
    width: 200px;
}

/* 添加文章 */
.layui-form-label {
    width: 86px;
}

.cover-box {
    display: flex;
}

/* 左侧裁剪区域的样式 */
.cover-left {
    width: 400px;
    height: 280px;
    overflow: hidden;
    margin-right: 20px;
}

/* 右侧盒子的样式 */
.cover-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 预览区域的样式 */
.img-preview {
    width: 200px;
    height: 140px;
    background-color: #ccc;
    margin-bottom: 20px;
    overflow: hidden;
}